Bug 640321: Blanket Purch. Order to Order drops extended text for later items#9084
Draft
alexei-dobriansky wants to merge 2 commits into
Draft
Bug 640321: Blanket Purch. Order to Order drops extended text for later items#9084alexei-dobriansky wants to merge 2 commits into
alexei-dobriansky wants to merge 2 commits into
Conversation
…er items Codeunit 97 copied each blanket line to the order with "Attached to Line No." still pointing at the blanket line no.; IsPurchOrderLineToBeInserted then Get()s that stale line no. on the new order and, when the parent item lands on a different line no., skips the extended-text line. Add RemapAttachedToLineNo (mirroring the shipped Sales-side fix) to rewrite "Attached to Line No." to the parent's new order line no. before the insert check. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…d NA layers Miapp propagation of the W1 RemapAttachedToLineNo fix and test to the IT and NA BaseApp and Tests layers. The IT BaseApp keeps its local InsertPurchaseHeader procedure alongside the new RemapAttachedToLineNo. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes AB#640321
Codeunit 97 copied each blanket line to the order with
"Attached to Line No."still pointing at the blanket line no.;IsPurchOrderLineToBeInsertedthenGets that stale line no. on the new order and, when the parent item lands on a different line no., skips the extended-text line. AddRemapAttachedToLineNo(mirroring the shipped Sales-side fix) to rewrite"Attached to Line No."to the parent's new order line no. before the insert check. Adds a test. Propagated to the IT and NA layers.